const auth = require("../middleware/auth");
module.exports = (app) => {
  const {
    controller,
    router,
    config: { api },
  } = app;
  const authMiddleware = auth(app);
  router.get(`${api.v1}mantra`, controller.mantra.getMantra);
  router.post(`${api.v1}mantra`, controller.mantra.postMantra);
  router.put(`${api.v1}mantra`, controller.mantra.putMantra);
};
